<div class="mws-panel grid_8 periodexams form">

   <div class="mws-panel-header">
     <span class="mws-i-24 i-table-1"><?php echo __('Add Periodexam'); ?></span>
  </div>

<div class="mws-panel-body">
<?php echo $this->Form->create('Periodexam',array("class"=>"mws-form")); ?>

	<div class="mws-form-inline">	 
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('name',array("div"=>"mws-form-row","class"=>"mws-textinput","between"=>'<div class="mws-form-item large">'))."</div>";
		echo $this->Form->input('uniyear_id',array("div"=>"mws-form-row","class"=>"mws-textinput","between"=>'<div class="mws-form-item large">'))."</div>";
 	    echo $this->Form->input('type',array('type'=>"radio","div"=>"mws-form-row","fieldset"=>false,"legend"=>false,"options"=>array("1"=> __('Final exam'),"2"=> __('Failure exam'),"3"=> __('Filter exam')  ),"value"=>1,"before"=>'<label>'.__('Exam Type').'</label><div id="mws-ui-button-radio">'))."</div>";
?><!--
	   
                                <label>Radio UI Buttons</label>
                                <div class="mws-form-item">
                                    <div id="mws-ui-button-radio" dir="">
                                        <input type="radio" id="radio1" name="radio" /><label for="radio1">Choice 1</label>
                                        <input type="radio" id="radio2" name="radio" checked="checked" /><label for="radio2">Choice 2</label>
                                        <input type="radio" id="radio3" name="radio" /><label for="radio3">Choice 3</label>
                                    </div>
                                </div>
      
                            --><?php 
		echo $this->Form->input('branch_id',array("div"=>"mws-form-row","class"=>"mws-textinput","between"=>'<div class="mws-form-item large">'))."</div>";
		echo $this->Form->input('term_id',array("div"=>"mws-form-row","class"=>"mws-textinput","between"=>'<div class="mws-form-item large">'))."</div>";
		echo $this->Form->input('start_date',array("div"=>"mws-form-row","type"=>"text" ,"class"=>"mws-textinput mws-datepicker","between"=>'<div class="mws-form-item small">'))."</div>";
		echo $this->Form->input('end_date',array("div"=>"mws-form-row","type"=>"text" ,"class"=>"mws-textinput mws-datepicker","between"=>'<div class="mws-form-item small">'))."</div>";
		echo $this->Form->input('place',array("div"=>"mws-form-row","class"=>"mws-textinput","between"=>'<div class="mws-form-item large">'))."</div>";
		echo $this->Form->input('user_id',array("div"=>"mws-form-row","type"=>"hidden","class"=>"mws-textinput","between"=>'<div class="mws-form-item large">'));
	?>
	 
	</div>
	<div class="mws-button-row">
	 <input type="submit" class="mws-button orange mws-i-24 i-check large" value="<?php echo __('Submit'); ?>
">
	 </div>
<?php echo $this->Form->end(); ?>
</div>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('List Periodexams'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('List Uniyears'), array('controller' => 'uniyears', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Uniyear'), array('controller' => 'uniyears', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Branches'), array('controller' => 'branches', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Branch'), array('controller' => 'branches', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Terms'), array('controller' => 'terms', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Term'), array('controller' => 'terms', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Exams'), array('controller' => 'exams', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Exam'), array('controller' => 'exams', 'action' => 'add')); ?> </li>
	</ul>
</div>
